<%
layout("/layout.html"){
%>
<div id=nav>
    <a href="https://git.oschina.net/xiandafu/eval"><h1>评级</h1></a>

    <ul>
    </ul>
    <%
    include("/menu.html",{index:"004"}){}
    %>
</div>

<article>
    <h2>异常数据处理</h2>
    <h5>使用方法:直接运行或者修改模型后运行</h5>
    <form id="inputForm" name="inputForm">
        <textarea id="code" name="code">
<?xml version="1.0" encoding="UTF-8"?>
<workspace name="评级">
    <project name="卫生评级">
        <doc name="评级得分" f="sum">
            <node name="异常配置" f="block">              
              <node name="题目三异常">
                   {"当(年收益-1)为0":100,"当(年成本-1)为0":55}
              </node>
            </node>        
            <node name="题目三">(年收益-1)/(年成本-1)</node>
        </doc>
    </project>
</workspace>
</textarea>
<div>
            变量名称1:<input name="paraName0" value="年收益"> 值:<input
                name="paraValue0" value="1">
        </div>
        <div>
            变量名称2:<input name="paraName1" value="年成本"> 值:<input
                name="paraValue1" value="1">
        </div>
        <div>
            变量名称3:<input name="paraName2" value=""> 值:<input
                name="paraValue2" value="">
        </div>
        <div>
            变量名称4:<input name="paraName3" value=""> 值:<input
                name="paraValue3" value="">
        </div>
        <div>
            变量名称5:<input name="paraName4" value=""> 值:<input
                name="paraValue4" value="">
        </div>
        <button type="button" id="run">计算结果</button>
          <button type="button" id="validate">语法校验</button>
        <input id="result" name="result" readonly value="">
        

    </form>
<%}%>
